package com.ruoyi.web.mapper;

import com.ruoyi.web.domain.ExecutionSuccess;

import java.util.List;

/**
 * 扣款成功Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public interface ExecutionSuccessMapper 
{
    /**
     * 查询扣款成功
     * 
     * @param id 扣款成功主键
     * @return 扣款成功
     */
    public ExecutionSuccess selectExecutionSuccessById(Long id);

    /**
     * 查询扣款成功列表
     * 
     * @param executionSuccess 扣款成功
     * @return 扣款成功集合
     */
    public List<ExecutionSuccess> selectExecutionSuccessList(ExecutionSuccess executionSuccess);

    /**
     * 新增扣款成功
     * 
     * @param executionSuccess 扣款成功
     * @return 结果
     */
    public int insertExecutionSuccess(ExecutionSuccess executionSuccess);

    /**
     * 修改扣款成功
     * 
     * @param executionSuccess 扣款成功
     * @return 结果
     */
    public int updateExecutionSuccess(ExecutionSuccess executionSuccess);

    /**
     * 删除扣款成功
     * 
     * @param id 扣款成功主键
     * @return 结果
     */
    public int deleteExecutionSuccessById(Long id);

    /**
     * 批量删除扣款成功
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExecutionSuccessByIds(String[] ids);

    /*
    * 清空表
    * */
    public void truncateTable(String loginName);
}
